<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<s:include value="/WEB-INF/includes/css.jsp" />
	<s:include value="/WEB-INF/includes/javascript.jsp" />
	<title><s:text name="categories" /></title>
</head>
<body>
	<div id="container">
		<s:include value="/WEB-INF/includes/header.jsp" />
		<div id="content">
			<s:include value="/WEB-INF/includes/admin/content-nav.jsp" />
			<div id="content-body">
				<h2><s:text name="categories" /></h2>
				<s:if test="actionErrors.size() > 0">
					<div class="error rounded">
						<s:iterator value="actionErrors"><s:property /><br /></s:iterator>
					</div>
				</s:if>
				<s:form label="%{getText('edit-category.form.label')}" action="update-category" validate="true" cssClass="fixed">
	            	<s:hidden key="id" />
	            	<s:textfield key="name" required="true" cssClass="txt" />
	            	<s:textarea key="description" required="true" cssClass="txt" />
	            	<div class="field"><s:submit key="edit-category.form.save" /></div>
	            </s:form>
			</div>
			<div class="clear">&nbsp;</div>
		</div>
		<s:include value="/WEB-INF/includes/footer.jsp" />
	</div>
</body>
</html>
